﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Util;

/// <summary>
/// Summary description for Favorites
/// </summary>
namespace BLL
{
    public class Favorites
    {
        public bool addFavorite(Favorite favorite)
        {
            return new DAL.Favorites().addFavorite(favorite);
        }

        public List<Favorite> getFavoriteOfUser(string UserID)
        {
            return new DAL.Favorites().getFavoriteOfUser(UserID);
        }

        public Favorite getFavorite(string favId)
        {
            return new DAL.Favorites().getFavorite(favId);
        }
    }
}